package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 日志管理对象 grid_logs
 * 
 * @author ruoyi
 * @date 2021-12-30
 */
public class GridLogs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志ID */
    private Integer logId;

    /** 归属主机 */
    @Excel(name = "归属主机")
    private String hostId;

    /** 节点名称 */
    @Excel(name = "节点名称")
    private String oldName;

    /** 启动密码 */
    @Excel(name = "启动密码")
    private String oldPass;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String pass;

    /** 公告状态（0正常 1关闭） */
    @Excel(name = "公告状态", readConverterExp = "0=正常,1=关闭")
    private String status;

    public void setLogId(Integer logId) 
    {
        this.logId = logId;
    }

    public Integer getLogId() 
    {
        return logId;
    }
    public void setHostId(String hostId) 
    {
        this.hostId = hostId;
    }

    public String getHostId() 
    {
        return hostId;
    }
    public void setOldName(String oldName) 
    {
        this.oldName = oldName;
    }

    public String getOldName() 
    {
        return oldName;
    }
    public void setOldPass(String oldPass) 
    {
        this.oldPass = oldPass;
    }

    public String getOldPass() 
    {
        return oldPass;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPass(String pass) 
    {
        this.pass = pass;
    }

    public String getPass() 
    {
        return pass;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("logId", getLogId())
            .append("hostId", getHostId())
            .append("oldName", getOldName())
            .append("oldPass", getOldPass())
            .append("name", getName())
            .append("pass", getPass())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
